﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace Weather3.Data
{
    public class Weather
    {
        /// <summary>
        /// 城市
        /// </summary>
        [XmlElement("city")]
        public string city { get; set; }

        /// <summary>
        /// 白天状态
        /// </summary>
        [XmlElement("status1")]
        public string status1 { get; set; }
        /// <summary>
        /// 夜晚状态
        /// </summary>
        [XmlElement("status2")]
        public string status2 { get; set; }

        /// <summary>
        /// 白天图标
        /// </summary>
        [XmlElement("figure1")]
        public string figure1 { get; set; }
        /// <summary>
        /// 夜晚图标
        /// </summary>
        [XmlElement("figure2")]
        public string figure2 { get; set; }

        /// <summary>
        /// 白天风向
        /// </summary>
        [XmlElement("direction1")]
        public string direction1 { get; set; }
        /// <summary>
        /// 夜间风向
        /// </summary>
        [XmlElement("direction2")]
        public string direction2 { get; set; }

        /// <summary>
        /// 白天风等级
        /// </summary>
        [XmlElement("power1")]
        public string power1 { get; set; }
        /// <summary>
        /// 夜间风等级
        /// </summary>
        [XmlElement("power2")]
        public string power2 { get; set; }

        /// <summary>
        /// 白天最高温度
        /// </summary>
        [XmlElement("temperature1")]
        public string temperature1 { get; set; }
        /// <summary>
        /// 夜间最低温度
        /// </summary>
        [XmlElement("temperature2")]
        public string temperature2 { get; set; }

        /// <summary>
        /// 体感指数
        /// </summary>
        [XmlElement("ssd")]
        public string ssd { get; set; }
        /// <summary>
        /// 体感指数等级
        /// </summary>
        [XmlElement("ssd_l")]
        public string ssd_l { get; set; }
        /// <summary>
        /// 体感指数说明
        /// </summary>
        [XmlElement("ssd_s")]
        public string ssd_s { get; set; }

        /// <summary>
        /// 体感温度
        /// </summary>
        [XmlElement("tgd1")]
        public string tgd1 { get; set; }
        [XmlElement("tgd2")]
        public string tgd2 { get; set; }

        /// <summary>
        /// 紫外线指数
        /// </summary>
        [XmlElement("zwx")]
        public string zwx { get; set; }
        /// <summary>
        /// 紫外线指数等级
        /// </summary>
        [XmlElement("zwx_l")]
        public string zwx_l { get; set; }
        /// <summary>
        /// 紫外线指数说明
        /// </summary>
        [XmlElement("zwx_s")]
        public string zwx_s { get; set; }

        /// <summary>
        /// 空调指数
        /// </summary>
        [XmlElement("ktk")]
        public string ktk { get; set; }
        /// <summary>
        /// 空调指数等级
        /// </summary>
        [XmlElement("ktk_l")]
        public string ktk_l { get; set; }
        /// <summary>
        /// 空调指数说明
        /// </summary>
        [XmlElement("ktk_s")]
        public string ktk_s { get; set; }

        /// <summary>
        /// 污染物扩散条件
        /// </summary>
        [XmlElement("pollution")]
        public string pollution { get; set; }
        /// <summary>
        /// 污染物扩散条件等级
        /// </summary>
        [XmlElement("pollution_l")]
        public string pollution_l { get; set; }
        /// <summary>
        /// 污染物扩散条件说明
        /// </summary>
        [XmlElement("pollution_s")]
        public string pollution_s { get; set; }

        /// <summary>
        /// 洗车指数
        /// </summary>
        [XmlElement("xcz")]
        public string xcz { get; set; }
        /// <summary>
        /// 洗车指数
        /// </summary>
        [XmlElement("xcz_l")]
        public string xcz_l { get; set; }
        /// <summary>
        /// 洗车指数说明
        /// </summary>
        [XmlElement("xcz_s")]
        public string xcz_s { get; set; }

        [XmlElement("zho")]
        public string zho { get; set; }
        [XmlElement("zho_l")]
        public string zho_l { get; set; }
        [XmlElement("zho_shuoming")]
        public string zho_shuoming { get; set; }

        [XmlElement("diy")]
        public string diy { get; set; }
        [XmlElement("diy_l")]
        public string diy_l { get; set; }
        [XmlElement("diy_shuoming")]
        public string diy_shuoming { get; set; }

        [XmlElement("fas")]
        public string fas { get; set; }
        [XmlElement("fas_l")]
        public string fas_l { get; set; }
        [XmlElement("fas_shuoming")]
        public string fas_shuoming { get; set; }

        /// <summary>
        /// 穿衣指数
        /// </summary>
        [XmlElement("chy")]
        public string chy { get; set; }
        /// <summary>
        /// 穿衣指数等级
        /// </summary>
        [XmlElement("chy_l")]
        public string chy_l { get; set; }
        /// <summary>
        /// 穿衣指数说明
        /// </summary>
        [XmlElement("chy_shuoming")]
        public string chy_shuoming { get; set; }

        /// <summary>
        /// 感冒指数
        /// </summary>
        [XmlElement("gm")]
        public string gm { get; set; }
        /// <summary>
        /// 感冒指数等级
        /// </summary>
        [XmlElement("gm_l")]
        public string gm_l { get; set; }
        /// <summary>
        /// 感冒指数说明
        /// </summary>
        [XmlElement("gm_s")]
        public string gm_s { get; set; }

        /// <summary>
        /// 运动指数
        /// </summary>
        [XmlElement("yd")]
        public string yd { get; set; }
        /// <summary>
        /// 运动指数等级
        /// </summary>
        [XmlElement("yd_l")]
        public string yd_l { get; set; }
        /// <summary>
        /// 运动指数说明
        /// </summary>
        [XmlElement("yd_s")]
        public string yd_s { get; set; }

        /// <summary>
        /// 保存的时间-天气
        /// </summary>
        [XmlElement("savedate_weather")]
        public string savedate_weather { get; set; }
        /// <summary>
        /// 保存的时间-生活
        /// </summary>
        [XmlElement("savedate_life")]
        public string savedate_life { get; set; }
        /// <summary>
        /// 保存的时间-指数
        /// </summary>
        [XmlElement("savedate_zhishu")]
        public string savedate_zhishu { get; set; }
       // [XmlElement("city")]
       // public string city { get; set; }
       //[XmlElement("city")]
       // public string city { get; set; }


    }
}
